package com.jr.mapper;

import com.jr.entry.BookInfo;
import com.jr.entry.Users;
import com.jr.pojo.IsBorrwo;
import com.jr.pojo.BookType;
import com.jr.util.PageHelper;
import org.apache.ibatis.annotations.Param;

import java.util.ArrayList;
import java.util.List;

public interface UsersMapper {
    public Users selectUsersByInfo(Users users);
    public List<BookInfo> selectBookInfo(BookInfo bookInfo);
    public List<IsBorrwo> selectByIsBorrwo();
    public List<BookType> selectByIsNameType();
    public int insertBookInfo(BookInfo bookInfo);
    public int deleteBookInfo(String book_code);
    public int updateBookInfo(BookInfo bookInfo);
    public ArrayList<BookInfo> selectBookInfoByQueryAndIndex(@Param("bookInfo")BookInfo bookInfo,@Param("pageHelper") PageHelper pageHelper);
}
